package net.chrisrichardson.ec2deployer.util

public class FileUtil {

  static String cygdrive(String path) {
        if (path =~ "^[a-zA-Z]:.*")
            return "/cygdrive/${path[0]}${path.substring(2).replace('\\', '/')}"
        else
            return path.replace('\\', '/')
    }

}